Skip to content

Conversation

hageboeck
Copy link
Member

When working with ROOT where some features were off, I encountered test failures. These commits reduce some of those, namely:

  • Add fallbacks to other RooFit backends when clad is off. The tests continue to run also with the numeric backend.
  • When selecting an unsupported algorithm in RootFinder, throw an exception instead of crashing.

Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! I only have one request about the tutorial

Copy link

github-actions bot commented Oct 3, 2025

Test Results

    20 files      20 suites   3d 12h 3m 48s ⏱️
 3 691 tests  3 691 ✅ 0 💤 0 ❌
72 029 runs  72 029 ✅ 0 💤 0 ❌

Results for commit bb9bb18.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

hageboeck and others added 2 commits October 8, 2025 18:10
When clad is off, the tests were failing. With the standard backend,
they run fine, though.
All backends are tested in parametrised tests, so testRooMulti can be
made independent of any backend.
Also fix a warning that protects from a Gaussian with sigma=0.

Co-authored-by: Jonas Rembser <[email protected]>
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! It makes sense to have a clear error and a fallback instead of a crash

When MathMore cannot be loaded, the tutorial exampleFunction.py used to
crash. Here, a throw is added to the constructor, which is caught in the
Python tutorial.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants